<%@ page language="java"   pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>综合咨询平台</title>
<link rel="stylesheet" href="resources/admin/css/communal.css" type="text/css"/>
<link rel="stylesheet" href="resources/admin/css/index.css" type="text/css"/>
<script src="resources/js/jquery-1.9.1.min.js" type="text/javascript" charset="UTF-8"></script> 
<script src="resources/admin/js/urchin.js" type="text/javascript"></script>
<script src="resources/admin/js/dhtmlxcommon.js" type="text/javascript"></script>
<script>
if (document.implementation && document.implementation.createDocument) {
	 this.xmlDoc=new ActiveXObject("Microsoft.XMLHTTP");
} 

function functionMenu_click(url){   $("#iframe_content").attr("src",url);  }

 /**
  * 提示信息
  * @param state  -1,0,1
  */
 function promptMsg(state,msg){  
 		$("#rates").html(msg);
		$("#rates").attr("title",msg);
		switch(state){
		case "1":
			$("#rates").css("color","#000000");
			break;
		case "0":
			$("#rates").css("color","#0326f8");
			break;
		case "-1":
			$("#rates").css("color","#FF0000");
			break;
		}
	 setTimeout(function() {
			$("#rates").animate({
				opacity:'0',
			},5000,function(){
				$("#rates").html("");
				$("#rates").css("opacity","1");
			});
		}, 5000);
  }

</script>
<script type="text/javascript"><!--//--><![CDATA[//><!--
sfHover = function() {
 var sfEls = document.getElementById("nav").getElementsByTagName("LI");
 for (var i=0; i<sfEls.length; i++) {
  sfEls[i].onmouseover=function() {
   this.className+=" sfhover";
  }
  sfEls[i].onmouseout=function() {
   this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
  }
 }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]></script>

</head>
<body>
		<div id="top">
		<div id="top_inside">
			<div id="logo"></div>
			<div id="top_info">
				<p>您好:admin</p>
				<p>2014年04月16日</p>
				<p>星期三</p>
				<p>10:18</p>
				<p>今日天气:重庆</p>
				<p></p>
				<p>多云</p>
				<p>21-28℃</p>
				<p>微风</p>
			</div>
		</div>
		<div id="topcon">
			<ul>
				<li><p style="background: url(images/message.png) top center no-repeat;"></p><a href="#">消息(N)</a></li>
				<li><p style="background: url(images/mail.png) top center no-repeat;"></p><a href="#">邮件(N)</a></li>
				<li><p style="background: url(images/remind.png) top center no-repeat;"></p><a href="#">待办事项(N)</a></li>
			</ul>
			<div id="rates"></div>
		</div>
	</div>

	<div id="centre">
		<div id="centre_content">
			<div id="nav">
				<ul>${request.functionMenu }<div class="clear"></div></ul>
			</div>
		   <div id="content">
					<iframe id="iframe_content" name="iframe_content" src="<%=request.getContextPath()%>/company!searchCompany.action" height="830px;"  width="100%"  style="overflow-x:hidden; overflow-y:auto;" scrolling="auto"   border="0" frameborder="0" ></iframe>
			</div>  
		</div>
	</div>
<script type="text/javascript">
var content_height=$("#content").height();
var nav_height=$("#nav").height();
var error_height=content_height>=nav_height?content_height:nav_height;
$("#content").height(error_height);
$("#nav").height(error_height);
</script>
</body>
</html>